package com.seecen.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.seecen.mapper.CuisineCategoriesMapper;
import com.seecen.pojo.CuisineCategories;
import com.seecen.service.CuisineCategoriesService;
import com.seecen.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 19811
* @description 针对表【t_cuisine_categories(菜系分类表)】的数据库操作Service实现
* @createDate 2025-07-22 09:54:27
*/
@Service
public class CuisineCategoriesServiceImpl extends ServiceImpl<CuisineCategoriesMapper, CuisineCategories>
    implements CuisineCategoriesService{

    @Autowired
    private CuisineCategoriesMapper cuisineCategoriesMapper;

    @Override
    public Result getCuisineCategoriesAll() {
        List<CuisineCategories> cuisineCategoriesList = cuisineCategoriesMapper.selectList(null);
        return Result.ok(cuisineCategoriesList);
    }

}




